package com.xidian.zhiancloud.dao.syset;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.zhiancloud.model.syset.UserCertificate;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 用户-证书
 */
public interface UserCertificateMapper extends BaseMapper<UserCertificate> {

    List<UserCertificate> getUserCertificateList(Long companyId,Long userId);

    int addUserCertificate(@Param("params") Map<String,Object> params);

    int updateUserCertificate(String id, @Param("params") Map<String,Object> params);

    int deleteUserCertificate(String id);
    
}
